<?php
/**
 * +----------------------------------------------------------------------
 * | Author: 罗极
 * +----------------------------------------------------------------------
 * | Description: ErrorViewAbstract.php
 * +----------------------------------------------------------------------
 * | User: Administrator Date: 8/24/ 0024 Time: 9:53
 * +----------------------------------------------------------------------
 */

namespace Framework\View\Abstracts;

abstract class ErrorViewAbstract
{
    public static $defaultHtml = "<h1>发生未知错误</h1>";

    abstract public static function trigger(string $errorMsg, string $viewPath = '');

    abstract public static function setHttpCode();

}